package com.woniu.order.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年06月05日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_visit")
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("回访对象")
public class TVisit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户电话
     */
    @TableField("user_phone")
    private String userPhone;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 回访时间
     */
    @TableField("visit_time")
    private LocalDateTime visitTime;

    /**
     * 回访状态
     */
    @TableField("visit_state")
    private Integer visitState;

    /**
     * 订单号
     */
    @TableField("order_num")
    private String orderNum;

    /**
     * 回访记录
     */
    @TableField("visit_recording")
    private String visitRecording;

    /**
     * 站点id
     */
    @TableField("station_id")
    private Integer stationId;


}
